package com.example.gokchinesefoodmappcdev.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
/*
* 商品信息的excel实体
* */
public class GoodsInfoExcel extends BaseRowModel implements Serializable {

    @ExcelProperty(value = {"商品编号"}, index = 0)
    private String goodCode;

    @ExcelProperty(value = {"商品类型"}, index = 1)
    private String goodType;

    @ExcelProperty(value = {"货号"}, index = 2)
    private String goodUniqueCode;

    @ExcelProperty(value = {"商品名"}, index = 3)
    private String goodName;

    @ExcelProperty(value = {"是否上架"}, index = 4)
    private String onSale;

    @ExcelProperty(value = {"是否审核"}, index = 5)
    private String reviewStatus;

}
